local jiaojin_active = fk.CreateSkill{
  name = "#tyj_heg__jiaojin_active",
}

jiaojin_active:addEffect("active", {
  target_num = 0,
  card_num = 1,
      card_filter = function(self, player,to_select, selected)
        local tos = Self:getMark("tyj_heg__jiaojin_from-phase")
        if tos~=0 then
        return #selected == 0 and Fk:getCardById(to_select).type == Card.TypeEquip and Fk:currentRoom():getPlayerById(tos):canMoveCardIntoEquip(to_select, true)
        end
      end,
})

return jiaojin_active